/**
 * @author emylyano3
 */

package org.generic.component;

import javax.microedition.lcdui.Image;

public class WebImage extends DesignComponent{
	
	//**************************************************************************************************
	//	Constructor.
	//**************************************************************************************************
	
	public WebImage(int id, String name, int x, int y) {
		super(id,name);
		this.id = id;
		this.x = x;
		this.y = y;
	}
	
	//**************************************************************************************************
	//	Attributes.
	//**************************************************************************************************

	public int id;
	private Image draw;
	private int x;
	private int y;
	private int width;
	private int height;

	//**************************************************************************************************
	//	Public Methods.
	//**************************************************************************************************

	
	//**************************************************************************************************
	//	Getters & Setters.
	//**************************************************************************************************
	
	public void setDraw(Image draw) {
		this.draw = draw;
	}
	public Image getDraw() {
		return draw;
	}

	public void setX(int x) {
		this.x = x;
	}
	public int getX() {
		return x;
	}
	
	public void setY(int y) {
		this.y = y;
	}
	public int getY() {
		return y;
	}
	
	public void setWidth(int width) {
		this.width = width;
	}
	public int getWidth() {
		return width;
	}
	
	public void setHeight(int height) {
		this.height = height;
	}
	public int getHeight() {
		return height;
	}

}
